package andrei.mower2.io.file.exceptions;

import andrei.mower2.main.i18n.MessageUtils;

@SuppressWarnings("serial")
public class UnreadableCharacterException extends UnreadableLineException {

	public UnreadableCharacterException(long lineNumber, long characterNumber, Throwable cause) {
		super(lineNumber, MessageUtils.getMessage("warn.io.unreadableCharacter", characterNumber) , cause);
	}
	
	public UnreadableCharacterException(long lineNumber, long characterNumber) {
		super(lineNumber, MessageUtils.getMessage("warn.io.unreadableCharacter", characterNumber));
	}
}
